package com.lt.experiment05.mission03;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment05.mission02
 * @ClassName Test
 * @Description to do
 * @date 2021/11/16 11:47
 */
public class Test {
    public static void main(String[] args) {
        CarStation carStation = new CarStation();
        PlaneStation planeStation = new PlaneStation();
        TrainStation trainStation = new TrainStation();
        GoWhereSite s1 = new GoWhereSite();
        s1.buyPlaneTicket();
        planeStation.buyTicket();
        System.out.println();
        s1.buyCarTicket();
        carStation.buyTicket();
        System.out.println();
        s1.buyTrainTicket();
        trainStation.buyTicket();
    }
}
